package com.fileBrowser.client;

import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class FileManager implements IsSerializable {
	
	private String id;
	private String parent;
	private String name;
	
	private List<FileManager> children;
	
	private boolean isDir;
	
	public FileManager(String id, String parent, String name) {
		this.id = id;
		this.parent = parent;
		this.name = name;
	}
	
	public FileManager(){
		
	}

	public String getId() {
		return id;
	}

	public String getParent() {
		return parent;
	}

	public String getName() {
		return name;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<FileManager> getChildren() {
		return children;
	}

	public void setChildren(List<FileManager> children) {
		this.children = children;
	}

	public boolean getIsDir() {
		return isDir;
	}

	public void setIsDir(boolean isDir) {
		this.isDir = isDir;
	}

	
}
